package cn.codergege.gradle.plugin;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

/**
 * 使用 kotlin 版的实现
 */
@Deprecated
public class StagePluginJava implements Plugin<Project> {
    @Override
    public void apply(Project project) {
        project.getTasks().create("setStage", StageJava.class, (task) -> {
            // 设置该任务的默认值
            task.setMainKt("src/main/kotlin");
            task.setTestKt("src/test/kotlin");
            task.setMainResources("src/main/resources");
        });
    }
}
